package com.dongdongshop.service;

import com.dongdongshop.pojo.TbAddress;
import com.dongdongshop.pojo.TbAreas;
import com.dongdongshop.pojo.TbCities;
import com.dongdongshop.pojo.TbProvinces;

import java.util.List;

public interface AddressService {
    List<TbAddress> findList(String username);
    List<TbProvinces> selectProvince(Integer provinceId);

    List<TbCities> selectCities(Integer provinceId);

    List<TbAreas> selectAreas(Integer citiesId);

    Boolean saveInfo(TbAddress address);

    Boolean deleteInfo(Long id);

    TbAddress selectById(Long id);
}
